package cn.scau.server.mapper;

import cn.scau.server.dto.SearchRecordsDTO;
import cn.scau.server.pojo.ApplicationRecords;
import cn.scau.server.vo.SingleRecordVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 代码不跑我先跑
 * @since 2025-03-30
 */
public interface ApplicationRecordsMapper extends BaseMapper<ApplicationRecords> {

    List<SingleRecordVO> getSingleRecordInfo(@Param("searchRecordsDTO") SearchRecordsDTO searchRecordsDTO);

    List<SingleRecordVO> getApprovalList(@Param("searchRecordsDTO") SearchRecordsDTO searchRecordsDTO);

    SingleRecordVO getPersonalSingleRecord(@Param("recordId") Integer recordId,@Param("empId") String empId);
}
